/*
 * Copyright (c) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.example.wryproject.bean;

/**
 * 歌词内容实体类
 *
 * @since 2021-08-04
 */
public class LrcContent implements Comparable<LrcContent> {
    //歌词内容
    private String Lrc;
    //歌词时间
    private Long lrcTime;
    //字体颜色
    private String fontColor;
    //字体大小
    private String fontSize;

    //无参构造
    public LrcContent() {
        super();
    }

    public String getFontColor() {
        return fontColor;
    }

    public void setFontColor(String fontColor) {
        this.fontColor = fontColor;
    }

    public String getFontSize() {
        return fontSize;
    }

    public void setFontSize(String fontSize) {
        this.fontSize = fontSize;
    }


    public String getLrc() {
        return Lrc;
    }

    public void setLrc(String lrc) {
        Lrc = lrc;
    }

    public Long getLrcTime() {
        return lrcTime;
    }

    public void setLrcTime(Long lrcTime) {
        this.lrcTime = lrcTime;
    }

    /**
     * 根据歌词时间排序
     */
    @Override
    public int compareTo(LrcContent content) {
        return this.getLrcTime().compareTo(content.getLrcTime());
    }
}
